#!/bin/bash
echo "build project input cmd is: $1"
case $1 in
    clean)
        rm -rf build install
    ;;
    all)
        rm -rf build install
        cmake -B build
        cmake --build build
        cmake --install build
    ;;
    *)
        echo "cmd support list: clean all";
    ;;
esac